package com.test.design.pattern.bulider.demo1;

/**
 * @ClasName OfoBuilder
 * @Descripution TODO ofo单车构建者，用来构建ofo单车
 * @Author leikw
 * @Date 2021/11/6 16:56
 * @Version V1.0
 */
public class OfoBuilder extends Builder {
    public void buildFrame() {
        bike.setFrame("铝合金车架");
    }

    public void buildSeat() {
        bike.setSeat("橡胶车座");
    }

    public Bike createBike() {
        return bike;
    }
}
